package com.hey.snmp.mib;

import java.util.List;

public class AllMibLogsExample {

	/**
	 * 获取指定文档的所有oid信息
	 *
	 * @param args
	 */
	public static void main(String[] args) {
		List<MibObject> list = MibBrowserUtils
				.getAllOid("E:\\work\\ems_sugar\\sugarnms_server\\resources\\mibs\\OPHYLINK-OSL6200-MIB.my");

		for (MibObject model : list) {
			System.out.println("name:" + model.getName());
			System.err.println("detail:" + model.getDetail());
		}

	}

}
